/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package smri;

import java.io.Serializable;

/**
 *
 * @author Eduardo
 */
public class Document implements  Serializable {

    private int id;
    private String fileName = "";    
    private String tittle = "";
    private String text = "";
    

    public Document(){}


    @Override
    public String toString()
    {
        return "DOC(" + id + "##" + fileName + "##" + tittle + "##" + text +")";
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }    

    public String getTittle() {
        return tittle;
    }

    public void setTittle(String tittle) {
        this.tittle = tittle;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    

}
